// 是否登陆
function isLogin(req, res, next) {
	if( req.cookies.name ){
		next();
	}else{
		// console.log('请登陆');
		res.redirect("/user/login")
	}	
}

function first() {

}

var funObj = {
  isLogin: isLogin,
  first: first
}

module.exports = funObj;
